linux build script now support 32

And add control if the script seems to be launched from a another directory