Updated to autodetect 32 or 64 bit and use proper gcc