change lua flags for OSX
use pkgconfig to get glew libs
do not use -lrt on mac OSX
Try to do better at detecting OSX in gather-build-info
use glewExperimental
get SDL header from right place on apple
do not use fullscreen option on mac osx in quickstart script
some changes to accomodate Apple's C compiler