s3 build: Eliminate the gmake-specific Makefile syntax