Fixed problems with RUN_IN_PLACE and srcdir!=bindir