add proper path in compile, does not seem to work in release