Wrap parallel code in #ifdef ATL_NCPU to avoid building parallel code when only building serial code
Add in missing headers
Ensure executable permissions set on configure scripts
Merge pull request #2 from staticfloat/master

Fixes for compilation on OSX