Fix build_detect_platform permissions

build_detect_platform was missing the executable bit which caused make to fail.

Signed-off-by: Evan Anderson <evan1124@gmail.com>