small fixes to add support for php-fpm
always enable fastcgi for fpm builds
rename .dSYM files when present