Fix bug in EXECUTABLE tag

Previously there was a bug which could cause executable to be created
incorrectly outside of the project directory.

This has been fixed