fixes #20
KSchuster modified the logic, seems to be working with intel on Linux now. Thanks for the quick response.