Makefile: detect OS automatically and put binaries one level up