Native build script bug fixing.