fixed test build scripts in mbeddr