cmake/apple: compile targets directly into the app bundle

less code & more robust