some common_gpu.mk improvements