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