Getting source to compile with framework in