linux: fix build scripts