add a GYP build file
Make everything build on Linux
fix a bug in reading global syms