Better management of Debug/Release builds for unix
Mac OS X compatibility