fix building of boost and remove pyc files