Fix luajit flags with out of source compilation