Compilation of libraries and applications made easy