Fixes permission denied on build_detect_platform

Fixes the error /bin/sh: 1: ./build_detect_platform: Permission denied
Makefile:18: build_config.mk: No such file or directory

when trying to compile leveldb on unix