fixed return value for linux build script