Use PLATFORM_BIN_DIR when available.